<template>
    <el-card ref="box-card" class="box-card" shadow="hover" >
        <div v-if="$slots.header" slot="header" ref="header">
            <slot name="header"/>
        </div>
        <div>
            <slot ></slot>
        </div>
    </el-card>
</template>

<script>
export default {
  name: 'yc-card'
}
</script>

<style scoped>

</style>
